package com.ruoyi.storage.tickets.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 生产工单对象 tickets
 * 
 * @author zzx
 * @date 2024-01-24
 */
public class Tickets extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工单编号 */
    private String ticketsId;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNumber;

    /** 单据日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "单据日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date billData;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String clientName;

    /** 客户订单号 */
    @Excel(name = "客户订单号")
    private String clientOrderNumber;

    /** 客户下单日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "客户下单日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date clinentOrderDate;

    /** 颜色 */
    @Excel(name = "颜色")
    private String colour;

    /** 仓库 */
    @Excel(name = "仓库")
    private String warehouseId;

    /** 产品线 */
    @Excel(name = "产品线")
    private String productLine;

    /** 计划开工时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划开工时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date scheduledStartTime;

    /** 计划完工时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划完工时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pctime;

    /** 计划数量 */
    @Excel(name = "计划数量")
    private Long plannedQuantity;

    /** 已包装数量 */
    @Excel(name = "已包装数量")
    private Long quantityPacked;

    /** 已包装未入库数量 */
    @Excel(name = "已包装未入库数量")
    private Long quantityPackedNostored;

    /** 已入库数量 */
    @Excel(name = "已入库数量")
    private Long quantityStorage;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long audit;

    /** 结案状态 */
    @Excel(name = "结案状态")
    private Long close;

    /** 删除标准 */
    private Long delFlag;
    /** 产品编号 */
    private String productId;

    /** 产品名称 */
    private String productName;
    /** 规格型号 */
    private String specifications;

    /** 客户型号 */
    private String customerModel;

    /** 外箱尺寸 */
    private String cartonSize;

    //出库数量
    private Long returnNumber;
    //结存数量
    private Long balanceQuantity;


    public Long getBalanceQuantity() {
        return balanceQuantity;
    }

    public void setBalanceQuantity(Long balanceQuantity) {
        this.balanceQuantity = balanceQuantity;
    }

    public Long getReturnNumber() {
        return returnNumber;
    }

    public void setReturnNumber(Long returnNumber) {
        this.returnNumber = returnNumber;
    }

    public String getProductId() {
        return productId;
    }

    public String getSpecifications() {
        return specifications;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    public String getCustomerModel() {
        return customerModel;
    }

    public void setCustomerModel(String customerModel) {
        this.customerModel = customerModel;
    }

    public String getCartonSize() {
        return cartonSize;
    }

    public void setCartonSize(String cartonSize) {
        this.cartonSize = cartonSize;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public void setTicketsId(String ticketsId)
    {
        this.ticketsId = ticketsId;
    }

    public String getTicketsId() 
    {
        return ticketsId;
    }
    public void setOrderNumber(String orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public String getOrderNumber() 
    {
        return orderNumber;
    }
    public void setBillData(Date billData) 
    {
        this.billData = billData;
    }

    public Date getBillData() 
    {
        return billData;
    }
    public void setClientName(String clientName) 
    {
        this.clientName = clientName;
    }

    public String getClientName() 
    {
        return clientName;
    }
    public void setClientOrderNumber(String clientOrderNumber) 
    {
        this.clientOrderNumber = clientOrderNumber;
    }

    public String getClientOrderNumber() 
    {
        return clientOrderNumber;
    }
    public void setClinentOrderDate(Date clinentOrderDate) 
    {
        this.clinentOrderDate = clinentOrderDate;
    }

    public Date getClinentOrderDate() 
    {
        return clinentOrderDate;
    }
    public void setColour(String colour) 
    {
        this.colour = colour;
    }

    public String getColour() 
    {
        return colour;
    }
    public void setWarehouseId(String warehouseId)
    {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseId()
    {
        return warehouseId;
    }
    public void setProductLine(String productLine) 
    {
        this.productLine = productLine;
    }

    public String getProductLine() 
    {
        return productLine;
    }
    public void setScheduledStartTime(Date scheduledStartTime) 
    {
        this.scheduledStartTime = scheduledStartTime;
    }

    public Date getScheduledStartTime() 
    {
        return scheduledStartTime;
    }
    public void setPctime(Date pctime) 
    {
        this.pctime = pctime;
    }

    public Date getPctime() 
    {
        return pctime;
    }
    public void setPlannedQuantity(Long plannedQuantity) 
    {
        this.plannedQuantity = plannedQuantity;
    }

    public Long getPlannedQuantity() 
    {
        return plannedQuantity;
    }
    public void setQuantityPacked(Long quantityPacked) 
    {
        this.quantityPacked = quantityPacked;
    }

    public Long getQuantityPacked() 
    {
        return quantityPacked;
    }
    public void setQuantityPackedNostored(Long quantityPackedNostored) 
    {
        this.quantityPackedNostored = quantityPackedNostored;
    }

    public Long getQuantityPackedNostored() 
    {
        return quantityPackedNostored;
    }
    public void setQuantityStorage(Long quantityStorage) 
    {
        this.quantityStorage = quantityStorage;
    }

    public Long getQuantityStorage() 
    {
        return quantityStorage;
    }
    public void setAudit(Long audit) 
    {
        this.audit = audit;
    }

    public Long getAudit() 
    {
        return audit;
    }
    public void setClose(Long close) 
    {
        this.close = close;
    }

    public Long getClose() 
    {
        return close;
    }
    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ticketsId", getTicketsId())
            .append("orderNumber", getOrderNumber())
            .append("billData", getBillData())
            .append("clientName", getClientName())
            .append("clientOrderNumber", getClientOrderNumber())
            .append("clinentOrderDate", getClinentOrderDate())
            .append("colour", getColour())
            .append("warehouseId", getWarehouseId())
            .append("productLine", getProductLine())
            .append("scheduledStartTime", getScheduledStartTime())
            .append("pctime", getPctime())
            .append("plannedQuantity", getPlannedQuantity())
            .append("quantityPacked", getQuantityPacked())
            .append("quantityPackedNostored", getQuantityPackedNostored())
            .append("quantityStorage", getQuantityStorage())
            .append("remark", getRemark())
            .append("audit", getAudit())
            .append("close", getClose())
            .append("delFlag", getDelFlag())
            .append("productId",getProductId())
            .append("productName",getProductName())
            .toString();
    }
}
